package com.ljf.daily.costmanagement.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 费用管理明细操作--返回  daily_dat_cost_management_detail_operate
 *
 * @author LJF
 * @since 2025-04-25
 */
@Data
@ApiModel("费用管理明细操作--返回")
public class DailyDatCostManagementDetailOperateVO implements Serializable {

    @JsonProperty("id")
    @ApiModelProperty(value = "ID")
    private Long id;

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private String code;

    @JsonProperty("name")
    @ApiModelProperty(value = "名称")
    private String name;

    @JsonProperty("calculateUnit")
    @ApiModelProperty(value = "计量单位")
    private String calculateUnit;

    @JsonProperty("sort")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @JsonProperty("amount")
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @JsonProperty("quantity")
    @ApiModelProperty(value = "数量")
    private BigDecimal quantity;

    @JsonProperty("belongDate")
    @ApiModelProperty(value = "归属日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date belongDate;

    @JsonProperty("operationType")
    @ApiModelProperty(value = "操作类型")
    private Integer operationType;

    @JsonProperty("operationTypeName")
    @ApiModelProperty(value = "操作类型名称")
    private String operationTypeName;

}
